<?php

namespace Usap\Conf\Common;

/**
 * 公共配置
 */
class common
{


    /*巡检任务状态*/
    public function getTaskStatusConf()
    {
        return array('0' => '未分配', '1' => '未执行', '2' => '已完成', '3' => '已忽略','4'=>'已过期');
    }

    public function getPlaceTypeConfig()
    {
        $cfg = [
            '1' => '九小场所-小生产加工企业',
            '2' => '九小场所-小美容洗浴场所',
            '3' => '九小场所-小网吧',
            '4' => '九小场所-小歌舞娱乐场所',
            '5' => '九小场所-小旅馆',
            '6' => '九小场所-小餐饮场所',
            '7' => '九小场所-小商店',
            '8' => '九小场所-小医院',
            '9' => '九小场所-小学校或幼儿园',
            '10' => '重点场所',
            '11' => '社区场所',
        ];
        return $cfg;
    }

    /**
     * 警报类型
     */
    public function alarmsTypeConfig()
    {
        $cfg = [
            '1' => '火警',
            '2' => '低电',
            '3' => '漏电',
            '4' => '烟雾',
            '5' => '高温',
            '6' => '消防栓开启',
            '7' => '燃气',
        ];

        return $cfg;
    }

    /**
     * 平台配置
     */
    public function platformConfig()
    {
        $cfg = [
            '1' => 'web管理端',
            '2' => '微信平台',
            '3' => 'App',
            '4' => '现场',
        ];
        return $cfg;
    }

}